package STUDENT.TRINHQUANGXUANDUC.OPPS.INHERISTANCE.BAI4ABS;

public class Models extends ChuanISO {
	@Override
	public String chonBangTan(Nhamang obj) {
		String bt = null;
		if (obj.getBangtan() == 1) {
			bt = "CDMA";
		}
		if (obj.getBangtan() == 2) {
			bt = "WCDMA";
		}
		if (obj.getBangtan() == 3) {
			bt = "GSM";
		}
		return bt;
	}

	@Override
	public String chonTanSo(Nhamang obj) {
		String ts = null;
		if (obj.getTanso() == 1) {
			ts = "900 Mhz – 902 Mhz";
		}
		if (obj.getTanso() == 2) {
			ts = "903 Mhz – 905 Mhz";
		}
		if (obj.getTanso() == 3) {
			ts = "906 Mhz – 908 Mhz";
		}
		return ts;
	}

}
